<include file="Public:header" />
<!-- end nav -->

<!-- begin container -->

<div class=" container-fuid ">

	<div class="row">
		<div class="col-lg-12 col-md-12 col-xs-12" style="background-color: #FFF;">

			<!-- begin tab -->
			<ul class="nav nav-tabs " >
				<li>
					<a href="{:U('Foodcat/index/')}" > <b>商品分类</b>
					</a>
				</li>
				<li class="active">
					<a href="{:U('Foodcat/add/')}" > <b>分类增加</b>
					</a>
				</li>
				<li>
					<a href="{:U('Food/index/')}" >
						<b>商品维护</b>
					</a>
				</li>
				<li>
					<a href="{:U('Food/add/')}" >
						<b>商品增加</b>
					</a>
				</li>

			</ul>
			<p></P>

			<div class="row">
				<div class="col-lg-2 col-md-2 col-xs-2" ></div>
				<div class="col-lg-6 col-md-6 col-xs-6" >
					<span class="help-block"></span>
				</div>
				<div class="col-lg-4 col-md-4 col-xs-4" ></div>

			</div>
			<!-- end 添加 -->
			<p></P>

			<form class="form-horizontal" role="form"  method="post" action="{:U('Foodcat/addsave/')}">
				<div class="form-group">
					<label for="inputEmail3" class="col-sm-2 control-label">分类名称</label>
					<div class="col-sm-4">
						<input type="text" class="form-control" id="inputEmail3" name="fcname"  placeholder=""></div>
					<div class="col-sm-6">
						<span class="help-block"> <i class="fa fa-exclamation"></i>
							输入分类名称
						</span>
					</span>
				</div>
			</div>

			<div class="form-group">
				<label for="inputPassword3" class="col-sm-2 control-label">排序</label>
				<div class="col-sm-2">
					<input type="text" class="form-control" name="fcsort" value="0" placeholder=""></div>
				<div class="col-sm-8">
					<span class="help-block"> <i class="fa fa-exclamation"></i>
						值为0-99，值越大，越靠前
					</span>
				</div>
			</div>

			<hr>
			<div class="form-group">
				<label for="inputPassword3" class="col-sm-4 control-label"></label>
				<div class="col-sm-2">

					<button type="sumbit" class="btn btn-primary">保存</button>

				</div>
				<div class="col-sm-6">
					<span class="help-block"></span>
				</div>

			</form>

		</div>
		<!-- col end -->

	</div>
	<!-- end row -->

</div>
<!-- end container -->

<br>
<br>

<include file="Public:foot" />

<script src="__ROOT__/Public/js/jquery.js"></script>
<script src="__ROOT__/Public/js/bootstrap.min.js"></script>
<script >
	
	$('#myModal').on('hidden.bs.modal', function (e) {
	location.reload()

})
$('#ajax').on('hidden.bs.modal', function (e) {
	location.reload()

})

</script>